package com.st.service.impl;

import com.st.dao.IUserDao;
import com.st.dao.impl.UserDaoImpl;
import com.st.enity.User;
import com.st.service.IUserService;

import java.util.List;

public class UserServiceImpl implements IUserService {
	private IUserDao userDao = new UserDaoImpl();

	@Override
	public User login(User user) {
		return userDao.select(user);
	}

	@Override
	public List<User> getAll() {
		return null;
	}

	@Override
	public List<User > search(String key) {
		return null;
	}
}
